import request from '@/utils/request'

// 查询实时数据采集（小）列表
export function listRealtimegatherdataxb(query) {
  return request({
    url: '/datastatistics/realtimegatherdataxb/list',
    method: 'get',
    params: query
  })
}

// 查询实时数据采集（小）详细
export function getRealtimegatherdataxb(TerminalID) {
  return request({
    url: '/datastatistics/realtimegatherdataxb/' + TerminalID,
    method: 'get'
  })
}

// 新增实时数据采集（小）
export function addRealtimegatherdataxb(data) {
  return request({
    url: '/datastatistics/realtimegatherdataxb',
    method: 'post',
    data: data
  })
}

// 修改实时数据采集（小）
export function updateRealtimegatherdataxb(data) {
  return request({
    url: '/datastatistics/realtimegatherdataxb',
    method: 'put',
    data: data
  })
}

// 删除实时数据采集（小）
export function delRealtimegatherdataxb(TerminalID) {
  return request({
    url: '/datastatistics/realtimegatherdataxb/' + TerminalID,
    method: 'delete'
  })
}

